import { expect, test } from 'vitest'

import * as core from './index.js'

test('exports', () => {
  expect(Object.keys(core)).toMatchInlineSnapshot(`
    [
      "call",
      "connect",
      "deployContract",
      "disconnect",
      "estimateFeesPerGas",
      "estimateGas",
      "estimateMaxPriorityFeePerGas",
      "getBalance",
      "getBlock",
      "getBlockNumber",
      "getBlockTransactionCount",
      "getBytecode",
      "getCallsStatus",
      "getCapabilities",
      "getChainId",
      "getChains",
      "getClient",
      "getAccount",
      "getConnection",
      "getConnections",
      "getConnectorClient",
      "getConnectors",
      "getEnsAddress",
      "getEnsAvatar",
      "getEnsName",
      "getEnsResolver",
      "getEnsText",
      "getFeeHistory",
      "getGasPrice",
      "getProof",
      "getPublicClient",
      "getStorageAt",
      "getTransaction",
      "getTransactionConfirmations",
      "getTransactionCount",
      "getTransactionReceipt",
      "getWalletClient",
      "multicall",
      "prepareTransactionRequest",
      "readContract",
      "readContracts",
      "reconnect",
      "sendCalls",
      "sendCallsSync",
      "sendTransaction",
      "sendTransactionSync",
      "showCallsStatus",
      "signMessage",
      "signTypedData",
      "simulateContract",
      "switchChain",
      "switchAccount",
      "switchConnection",
      "verifyMessage",
      "verifyTypedData",
      "waitForCallsStatus",
      "waitForTransactionReceipt",
      "watchAsset",
      "watchBlockNumber",
      "watchBlocks",
      "watchChainId",
      "watchClient",
      "watchAccount",
      "watchConnection",
      "watchConnections",
      "watchConnectors",
      "watchContractEvent",
      "watchPendingTransactions",
      "watchPublicClient",
      "writeContract",
      "createConnector",
      "injected",
      "mock",
      "createConfig",
      "createStorage",
      "noopStorage",
      "hydrate",
      "BaseError",
      "ChainNotConfiguredError",
      "ConnectorAccountNotFoundError",
      "ConnectorAlreadyConnectedError",
      "ConnectorChainMismatchError",
      "ConnectorNotConnectedError",
      "ConnectorNotFoundError",
      "ConnectorUnavailableReconnectingError",
      "ProviderNotFoundError",
      "SwitchChainNotSupportedError",
      "custom",
      "http",
      "webSocket",
      "unstable_connector",
      "fallback",
      "cookieStorage",
      "cookieToInitialState",
      "parseCookie",
      "deepEqual",
      "deserialize",
      "extractRpcUrls",
      "serialize",
      "version",
    ]
  `)
})
